﻿using SqlSugar;
using System;

namespace test3
{
    /// <summary>
    /// 
    /// </summary>
    public class student
    {
        /// <summary>
        /// 
        /// </summary>
        public student()
        {
        }

        private System.Int64 _ID;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int64 ID { get { return this._ID; } set { this._ID = value; } }

        private System.String _StudentID;
        /// <summary>
        /// 学生编号
        /// </summary>
        public System.String StudentID { get { return this._StudentID; } set { this._StudentID = value?.Trim(); } }

        private System.String _SchoolID;
        /// <summary>
        /// 学校编号
        /// </summary>
        public System.String SchoolID { get { return this._SchoolID; } set { this._SchoolID = value?.Trim(); } }

        private System.String _Photo;
        /// <summary>
        /// 
        /// </summary>
        public System.String Photo { get { return this._Photo; } set { this._Photo = value?.Trim(); } }

        private System.String _Name;
        /// <summary>
        /// 姓名
        /// </summary>
        public System.String Name { get { return this._Name; } set { this._Name = value?.Trim(); } }

        private System.String _National;
        /// <summary>
        /// 民族
        /// </summary>
        public System.String National { get { return this._National; } set { this._National = value?.Trim(); } }

        private System.Boolean _Sex;
        /// <summary>
        /// 性别
        /// </summary>
        public System.Boolean Sex { get { return this._Sex; } set { this._Sex = value; } }

        private System.DateTime _Age;
        /// <summary>
        /// 出生日期
        /// </summary>
        public System.DateTime Age { get { return this._Age; } set { this._Age = value; } }

        private System.String _Tel;
        /// <summary>
        /// 联系方式
        /// </summary>
        public System.String Tel { get { return this._Tel; } set { this._Tel = value?.Trim(); } }

        private System.String _Academy;
        /// <summary>
        /// 学院
        /// </summary>
        public System.String Academy { get { return this._Academy; } set { this._Academy = value?.Trim(); } }

        private System.String _Specialty;
        /// <summary>
        /// 专业
        /// </summary>
        public System.String Specialty { get { return this._Specialty; } set { this._Specialty = value?.Trim(); } }

        private System.String _GradeClass;
        /// <summary>
        /// 年级班级
        /// </summary>
        public System.String GradeClass { get { return this._GradeClass; } set { this._GradeClass = value?.Trim(); } }

        private System.Boolean _State;
        /// <summary>
        /// 状态
        /// </summary>
        public System.Boolean State { get { return this._State; } set { this._State = value; } }

        private System.DateTime _CreateTime;
        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime CreateTime { get { return this._CreateTime; } set { this._CreateTime = value; } }

        private System.String _Remark;
        /// <summary>
        /// 备注
        /// </summary>
        public System.String Remark { get { return this._Remark; } set { this._Remark = value?.Trim(); } }
    }

    public class Student
    {
        public String StudentID;
        public String SchoolID;
        public String Photo;
        public String Name;
        public String National;
        public String Sex;
        public String Age;
        public String Tel;
        public String Academy;
        public String Specialty;
        public String GradeClass;
        public String State;
        public String CreateTime;
        public String Remark;
    }
}
